/*******************************************************************
 File:     memory.h
 Purpose:  JFPatch library header file - things you can do with
           JFPatch /without/ a C compiler :-)
 Author:   Justin Fletcher
 Date:     09 Apr 1997
 ******************************************************************/

#ifndef __MEMORY_H
#define __MEMORY_H

/*********************************************** <c> Gerph *********
 Function:     malloc
 Description:  Allocate some RMA
 Parameters:   size = size to allocate
 Returns:      pointer to the space
 ******************************************************************/
extern void *malloc(int size);

/*********************************************** <c> Gerph *********
 Function:     free
 Description:  Free the RMA
 Parameters:   blk-> block allocated with malloc
 Returns:      none
 ******************************************************************/
extern void free(void *blk);

/*********************************************** <c> Gerph *********
 Function:     realloc
 Description:  Change the size of an RMA block
 Parameters:   blk-> block allocated with malloc
               newsize = new size of block
 Returns:      pointer the block
 ******************************************************************/
extern void *realloc(void *blk,int newsize);

#endif
